﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊电子病历
    /// </summary>
    public partial class MzysTbDzbl
    {
        /// <summary>
        ///  主键自增
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 病历卡号
        /// </summary>
        public string? Blkh { get; set; }
        /// <summary>
        /// 患者编号
        /// </summary>
        public int? Hzbh { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? Hzxm { get; set; }
        /// <summary>
        /// 病历
        /// </summary>
        public string? Bl { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? Cjrq { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? Xgrq { get; set; }
        /// <summary>
        /// 科室编码
        /// </summary>
        public int? Ksbm { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string? Ksmc { get; set; }
        /// <summary>
        /// 医生编码
        /// </summary>
        public short? Ysbm { get; set; }
        /// <summary>
        /// 医生名称
        /// </summary>
        public string? Ysxm { get; set; }
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public int? Jzlsh { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public long? Regno { get; set; }
        /// <summary>
        /// 模板代码（对应MZYS_TB_MBINFO的mbdm）
        /// </summary>
        public string? TempCode { get; set; }
        /// <summary>
        /// 打印标记
        /// </summary>
        public short? Dybj { get; set; }
        /// <summary>
        /// 提交标记
        /// </summary>
        public short? Tjbj { get; set; }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? Tjsj { get; set; }
        /// <summary>
        /// 完成标记
        /// </summary>
        public short? Wcbj { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? Wcsj { get; set; }
        /// <summary>
        /// 初诊标记 0复诊1初诊
        /// </summary>
        public short? Czbj { get; set; }
        /// <summary>
        /// 审核次数
        /// </summary>
        public short? Shcs { get; set; }
        /// <summary>
        /// 初审标记
        /// </summary>
        public short? Csbj { get; set; }
        /// <summary>
        /// 审核标记
        /// </summary>
        public short? Shbj { get; set; }
        /// <summary>
        /// 处理标记
        /// </summary>
        public short? Clbj { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public int? OpCode { get; set; }
        /// <summary>
        /// 操作時間
        /// </summary>
        public DateTime? OpTime { get; set; }
        /// <summary>
        /// 病历RTF格式文本
        /// </summary>
        public string? Blrtf { get; set; }
        /// <summary>
        /// 病历HTML
        /// </summary>
        public string? BlHtml { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalCode { get; set; }
        /// <summary>
        /// 病历模板名称 
        /// </summary>
        public string? TempName { get; set; }
    }
}
